package com.example.mapper;

import com.example.domain.Count;
import org.apache.ibatis.annotations.Param;

/**
* @author tong
* @description 针对表【count】的数据库操作Mapper
* @createDate 2023-01-20 15:22:34
* @Entity com.example.domain.Count
*/
public interface CountMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Count record);

    int insertSelective(Count record);

    Count selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Count record);

    int updateByPrimaryKey(Count record);

    // 增加和减少都是update
    void updateMoney(@Param("id") Integer id,@Param("updateMoney") Integer updateMoney);

}
